package com.sea.physical.service;

import com.sea.physical.entity.Unusual;

import java.util.List;

public interface UnusualService {

    /**
     * 多条件搜索
     * @param unusual
     * @return
     */
    List<Unusual> findByCnd(Unusual unusual);
    /**
     * 新增
     * @param unusual
     * @return
     */
    int save(Unusual unusual);

    /**
     * 删除
     * @param id
     * @return
     */
    int delete(Integer id);

    /**
     * 查找指定
     * @param id
     * @return
     */
    Unusual findById(Integer id);
    /**
     * 修改
     * @param unusual
     * @return
     */
    int usave(Unusual unusual);

}
